package main

import (
	"fmt"
	"leetcode/1/solution"
)

// 1题
// 两数之和
// https://leetcode-cn.com/problems/two-sum/

func main() {
	var (
		case1   = []int{2, 7, 11, 15}
		target1 = 9
	)

	// 方案1
	fmt.Println(solution.V1(case1, target1))

	// 方案2
	fmt.Println(solution.V2(case1, target1))
}
